package com.tinysand.advert.mysql.dto;

import com.tinysand.advert.mysql.constant.OperationType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author TINY
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TableTemplate {
    private String tableName;
    private String level;
    private Map<OperationType, List<String>> opTypeFieldMap
            = new HashMap<>();

    /* K:字段索引 V:字段名*/
    private Map<Integer, String> posMap = new HashMap<>();
}
